import frappe

def get_context(context):
	# do your magic here
	context.query_params = frappe.form_dict
	# new1 = frappe.get_doc('EMS Fault Reason')
	# context.doc = new1
	# frappe.form_dict.new = 0
	# frappe.form_dict.fault_reson_name = new1.name
